package com.ruoyi.student.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;

/**
 * 重点关注对象 t_student_repeater_log
 * 
 * @author curly
 * @date 2022-12-26
 */
public class StudentRepeaterLog extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    private Long id;

    /** 学生编号 */
    @Excel(name = "学生编号")
    private Long stuSn;

    /** 原班级ID */
    @Excel(name = "原班级ID")
    private Long oldClassId;

    /** 学生状态ID */
    @Excel(name = "学生状态ID")
    private Long stuStateId;

    /** 备注 */
    @Excel(name = "备注")
    private String comment;

    /** 操作人 */
    @Excel(name = "操作人")
    private String operator;

    /** 创建时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "创建时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date time;

    /** 现班级ID */
    @Excel(name = "现班级ID")
    private Long newClassId;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setStuSn(Long stuSn) 
    {
        this.stuSn = stuSn;
    }

    public Long getStuSn() 
    {
        return stuSn;
    }
    public void setOldClassId(Long oldClassId) 
    {
        this.oldClassId = oldClassId;
    }

    public Long getOldClassId() 
    {
        return oldClassId;
    }
    public void setStuStateId(Long stuStateId) 
    {
        this.stuStateId = stuStateId;
    }

    public Long getStuStateId() 
    {
        return stuStateId;
    }
    public void setComment(String comment) 
    {
        this.comment = comment;
    }

    public String getComment() 
    {
        return comment;
    }
    public void setOperator(String operator) 
    {
        this.operator = operator;
    }

    public String getOperator() 
    {
        return operator;
    }
    public void setTime(Date time) 
    {
        this.time = time;
    }

    public Date getTime() 
    {
        return time;
    }
    public void setNewClassId(Long newClassId) 
    {
        this.newClassId = newClassId;
    }

    public Long getNewClassId() 
    {
        return newClassId;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("stuSn", getStuSn())
            .append("oldClassId", getOldClassId())
            .append("stuStateId", getStuStateId())
            .append("comment", getComment())
            .append("operator", getOperator())
            .append("time", getTime())
            .append("newClassId", getNewClassId())
            .toString();
    }
}
